package et.research;

import et.item.ETItems;
import net.minecraft.item.ItemStack;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.api.crafting.CrucibleRecipe;
import thaumcraft.api.crafting.InfusionRecipe;
import thaumcraft.api.crafting.ShapedArcaneRecipe;
import thaumcraft.api.crafting.ShapelessArcaneRecipe;
import thaumcraft.api.research.ResearchItem;
import thaumcraft.api.research.ResearchPage;
import thaumcraft.common.config.ConfigResearch;

/**
 * Created by winston_wang on 2017/6/3.
 */
public class ETResearchs {
    @ETResearch
    public static ResearchItem researchItemMain = new ResearchItem("MAIN","ET",new AspectList().add(Aspect.ORDER,2).add(Aspect.METAL,5).add(Aspect.MAGIC,2),0,0,0, new ItemStack(ETItems.thaumPlate)).setParents("THAUMIUM").setPages(new ResearchPage("et.research_page.MAIN"),new ResearchPage((ShapelessArcaneRecipe)ConfigResearch.recipes.get("ThuamPlate")));
    @ETResearch
    public static ResearchItem researchItemThuamCasing = new ResearchItem("CASING_THAUM","ET",new AspectList().add(Aspect.TOOL,3).add(Aspect.METAL,5).add(Aspect.MAGIC,2).add(Aspect.ORDER,3),2,0,0, new ItemStack(ETItems.thaumCasing)).setParents("MAIN").setPages(new ResearchPage("et.research_page.CASING_THAUM"),new ResearchPage((CrucibleRecipe)ConfigResearch.recipes.get("ThuamCasing")));
    @ETResearch
    public static ResearchItem researchItemThuamBattery = new ResearchItem("BATTERY_THAUM","ET",new AspectList().add(Aspect.ENERGY,10).add(Aspect.METAL,5).add(Aspect.MAGIC,2),4,0,0, new ItemStack(ETItems.thaumBattery)).setParents("CASING_THAUM").setPages(new ResearchPage("et.research_page.BATTERY_THAUM"),new ResearchPage((ShapedArcaneRecipe)ConfigResearch.recipes.get("ThuamBattery")));
    @ETResearch
    public static ResearchItem researchItemVoidPlate = new ResearchItem("PLATE_VOID","ET",new AspectList().add(Aspect.VOID,10).add(Aspect.METAL,5).add(Aspect.TOOL,5),1,2,0, new ItemStack(ETItems.voidPlate)).setParents("MAIN","VOIDMETAL").setConcealed().setPages(new ResearchPage("et.research_page.PLATE_VOID"),new ResearchPage((CrucibleRecipe)ConfigResearch.recipes.get("VoidPlate")));
    @ETResearch
    public static ResearchItem researchItemVoidDrill = new ResearchItem("DRILL_VOID","ET",new AspectList().add(Aspect.MINE,7).add(Aspect.VOID,7).add(Aspect.TOOL,8).add(Aspect.METAL,6),4,2,0, new ItemStack(ETItems.voidDrill)).setParents("PLATE_VOID","INFUSION").setConcealed().setPages(new ResearchPage("et.research_page.DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("VoidDrill")));
    @ETResearch
    public static ResearchItem researchItemBurnVoidDrill = new ResearchItem("BURN_DRILL_VOID","ET",new AspectList().add(Aspect.FIRE,15).add(Aspect.ENERGY,5).add(Aspect.MINE,7),6,2,0, new ItemStack(ETItems.burnVoidDrill)).setParents("DRILL_VOID").setConcealed().setPages(new ResearchPage("et.research_page.BURN_DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("BurnVoidDrill")));
    @ETResearch
    public static ResearchItem researchItemLandVoidDrill = new ResearchItem("LAND_DRILL_VOID","ET",new AspectList().add(Aspect.EARTH,15).add(Aspect.ENERGY,5).add(Aspect.MINE,7),7,1,0, new ItemStack(ETItems.landVoidDrill)).setParents("BURN_DRILL_VOID").setConcealed().setPages(new ResearchPage("et.research_page.LAND_DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("LandVoidDrill")));
    @ETResearch
    public static ResearchItem researchItemWindVoidDrill = new ResearchItem("WIND_DRILL_VOID","ET",new AspectList().add(Aspect.AIR,15).add(Aspect.ENERGY,5).add(Aspect.MINE,7),7,0,0, new ItemStack(ETItems.windVoidDrill)).setParents("BURN_DRILL_VOID").setConcealed().setPages(new ResearchPage("et.research_page.WIND_DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("windVoidDrill")));
    @ETResearch
    public static ResearchItem researchItemWaterVoidDrill = new ResearchItem("WATER_DRILL_VOID","ET",new AspectList().add(Aspect.WATER,15).add(Aspect.ENERGY,5).add(Aspect.MINE,4),7,2,0, new ItemStack(ETItems.waterVoidDrill)).setParents("BURN_DRILL_VOID").setConcealed().setPages(new ResearchPage("et.research_page.WATER_DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("waterVoidDrill")));
    @ETResearch
    public static ResearchItem researchItemOrderVoidDrill = new ResearchItem("ORDER_DRILL_VOID","ET",new AspectList().add(Aspect.ORDER,15).add(Aspect.ENERGY,5).add(Aspect.MINE,12),7,3,0, new ItemStack(ETItems.orderVoidDrill)).setParents("BURN_DRILL_VOID").setConcealed().setPages(new ResearchPage("et.research_page.ORDER_DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("orderVoidDrill")));
    @ETResearch
    public static ResearchItem researchItemChaosVoidDrill = new ResearchItem("CHAOS_DRILL_VOID","ET",new AspectList().add(Aspect.ENTROPY,15).add(Aspect.ENERGY,5).add(Aspect.MINE,12).add(Aspect.MAGIC,7),7,4,0, new ItemStack(ETItems.chaosVoidDrill)).setParents("BURN_DRILL_VOID").setConcealed().setPages(new ResearchPage("et.research_page.CHAOS_DRILL_VOID"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("chaosVoidDrill")));
    @ETResearch
    public static ResearchItem researchItemVoidSaber = new ResearchItem("VOID_SABER","ET",new AspectList().add(Aspect.WEAPON,15).add(Aspect.ENERGY,10).add(Aspect.VOID,10).add(Aspect.DARKNESS,10),-1,2,0, new ItemStack(ETItems.voidSaber)).setParents("PLATE_VOID","INFUSION").setConcealed().setPages(new ResearchPage("et.research_page.VOID_SABER"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("voidSaber")));
    @ETResearch
    public static ResearchItem researchItemFocusCharge = new ResearchItem("FOCUS_CHARGE","ET",new AspectList().add(Aspect.TOOL,15).add(Aspect.ENERGY,20).add(Aspect.MAGIC,10).add(Aspect.ORDER,10),-2,1,0, new ItemStack(ETItems.focusCharge)).setParents("VOID_SABER","INFUSION").setConcealed().setPages(new ResearchPage("et.research_page.FOCUS_CHARGE"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("chargeFocus")));
    @ETResearch
    public static ResearchItem researchItemFocusTesla = new ResearchItem("FOCUS_TESLA","ET",new AspectList().add(Aspect.TOOL,15).add(Aspect.WEAPON,20).add(Aspect.METAL,10).add(Aspect.MAGIC,10).add(Aspect.ORDER,10),-3,1,0, new ItemStack(ETItems.focusTesla)).setParents("FOCUS_CHARGE","INFUSION").setConcealed().setPages(new ResearchPage("et.research_page.FOCUS_TESLA"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("teslaFocus")));
    @ETResearch
    public static ResearchItem researchItemFocusChargeMagic = new ResearchItem("FOCUS_CM","ET",new AspectList().add(Aspect.ENERGY, 20).add(Aspect.TOOL, 19).add(Aspect.ORDER, 10).add(Aspect.MAGIC,6),-3,0,0, new ItemStack(ETItems.focusChargeMagic)).setParents("FOCUS_CHARGE","INFUSION").setConcealed().setPages(new ResearchPage("et.research_page.FOCUS_CM"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("cmFocus")));
    @ETResearch
    public static ResearchItem researchItemSolarRing = new ResearchItem("SOLAR_RING","ET",new AspectList().add(Aspect.ENERGY, 20).add(Aspect.TOOL, 19).add(Aspect.LIGHT, 20),-3,2,0, new ItemStack(ETItems.solarRing)).setParents("FOCUS_CHARGE","INFUSION").setConcealed().setPages(new ResearchPage("et.research_page.SOLAR_RING"),new ResearchPage((InfusionRecipe) ConfigResearch.recipes.get("solarRing")));
    @ETResearch
    public static ResearchItem researchItemVoidFibre = new ResearchItem("VOID_FIBRE","ET",new AspectList().add(Aspect.METAL, 20).add(Aspect.TOOL, 20).add(Aspect.VOID, 20),-5,1,0, new ItemStack(ETItems.voidFibre)).setParents("SOLAR_RING","INFUSION","FOCUS_CM","FOCUS_TESLA").setConcealed().setPages(new ResearchPage("et.research_page.VOID_FIBRE"),new ResearchPage((ShapelessArcaneRecipe) ConfigResearch.recipes.get("voidFibre")));
}